package com.show.business.device.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.show.business.device.bean.DeviceAlarm;

import java.util.List;

/**
 * <p>
 * 设备告警 Mapper 接口
 * </p>
 *
 * @author dvlp
 * @since 2024-09-30
 */
public interface DeviceAlarmMapper extends BaseMapper<DeviceAlarm> {
    /**
     * 列表查询
     * @param deviceAlarm
     * @return
     */
    List<DeviceAlarm> getList(DeviceAlarm deviceAlarm);

    /**
     * 软删除
     * @param id
     */
    void updateDel(String id);

    /**
     * 根据imei查询设备告警相关信息
     * @param deviceAlarm
     * @return
     */
    List<DeviceAlarm> getAlarmListByImei(DeviceAlarm deviceAlarm);

}
